<template>
  <div class="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: "App",
};

// const debounce = (fn, delay) => {
//   let timer = null;
//   return function () {
//     clearTimeout(timer);
//     timer = setTimeout(() => fn.apply(this, arguments), delay);
//   };
// };
// const _ResizeObserver = window.ResizeObserver;
// window.ResizeObserver = class extends _ResizeObserver {
//   constructor(callback) {
//     super(debounce(callback, 16)); // 16ms延迟
//   }
// };
</script>